home *** CD-ROM | disk | FTP | other *** search
/ APDL Other Worlds / APDL Other Worlds Collection.iso / SF3000 / Extras / !SFcolours / h / Utils < prev   
Encoding:
Text File  |  2003-10-24  |  776 b   |  29 lines

  1. /*
  2.  *  SFcolours - Star Fighter 3000 colours editor
  3.  *  Utility functions
  4.  *  Copyright (C) 2001  Chris Bazley
  5.  */
  6.  
  7. #ifndef SFCUtils_h
  8. #define SFCUtils_h
  9.  
  10. #include "kernel.h"
  11. #include "toolbox.h"
  12.  
  13. #include "loader.h"
  14.  
  15. extern LoaderFileHandler load_compressed;
  16.  
  17. extern void set_24bit_button_col(ObjectId window, ComponentId button, int colour);
  18. extern _kernel_oserror *open_topleftofwin(unsigned int flags, ObjectId showobj, ObjectId relativeto, ObjectId parent, ComponentId parent_component);
  19.  
  20. extern _kernel_oserror *show_win_at_ptr(unsigned int flags, ObjectId id, ObjectId parent, ComponentId parent_component);
  21.  
  22. extern char *tail(char *filepath, int length);
  23.  
  24. extern char brightness_of_24bit_col(int colour);
  25.  
  26. extern char real_to_mode13col(unsigned int real_col);
  27.  
  28. #endif
  29.